package bean;

import java.math.BigDecimal;

public class Type {
	private String typeId;//类型编号
	private String tName;//类型名称
	private BigDecimal tTotal;//总量
	private BigDecimal tResidual;//剩余量
	private String tRemarks;//备注
	
	public Type() {
		super();
	}

	public Type(String typeId, String tName, BigDecimal tTotal, BigDecimal tResidual,
			String tRemarks) {
		super();
		this.typeId = typeId;
		this.tName = tName;
		this.tTotal = tTotal;
		this.tResidual = tResidual;
		this.tRemarks = tRemarks;
	}

	public String getTypeId() {
		return typeId;
	}

	public void setTypeId(String typeId) {
		this.typeId = typeId;
	}

	public String gettName() {
		return tName;
	}

	public void settName(String tName) {
		this.tName = tName;
	}

	public BigDecimal gettTotal() {
		return tTotal;
	}

	public void settTotal(BigDecimal tTotal) {
		this.tTotal = tTotal;
	}

	public BigDecimal gettResidual() {
		return tResidual;
	}

	public void settResidual(BigDecimal tResidual) {
		this.tResidual = tResidual;
	}

	public String gettRemarks() {
		return tRemarks;
	}

	public void settRemarks(String tRemarks) {
		this.tRemarks = tRemarks;
	}

	@Override
	public String toString() {
		return "Type [typeId=" + typeId + ", tName=" + tName + ",  tTotal=" + tTotal
				+ ", tResidual=" + tResidual + ", tRemarks=" + tRemarks + "]";
	}
	
}
